<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Repetier-Firmware: Extruder Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="repetier-logo-trans128.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Repetier-Firmware
   &#160;<span id="projectnumber">0.91</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_extruder.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Extruder Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="Extruder" -->
<p>Data to drive one extruder.  
 <a href="class_extruder.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_extruder_8h_source.html">Extruder.h</a>&gt;</code></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a8bdb088d09103a04aedad2c22d493ac8">step</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends the high-signal to the stepper for next extruder step. Call this function only, if interrupts are disabled.  <a href="#a8bdb088d09103a04aedad2c22d493ac8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a52571d71f3c1fbf18afd83e2b8ff7fe6">unstep</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets stepper signal to low for current extruder.  <a href="#a52571d71f3c1fbf18afd83e2b8ff7fe6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a8e6862e8be4778e936b97ba7e595b46e">setDirection</a> (uint8_t dir)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Activates the extruder stepper and sets the direction.  <a href="#a8e6862e8be4778e936b97ba7e595b46e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a0a87bc76d9e423caf9fa05c72764f88e">enable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a68854a1919537b9a223261849a973aa6">manageTemperatures</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a30fda02302465621235f18287f92a016">disableCurrentExtruderMotor</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#ad79d9a88a3155f100a4679fe5e31051d">selectExtruderById</a> (uint8_t extruderId)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Select extruder ext_num.  <a href="#ad79d9a88a3155f100a4679fe5e31051d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a3de6389d6f361381ae46410acbb16c94">disableAllHeater</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a299b2711d43b3492a9915f93c65c006a">initExtruder</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initalizes all extruder.  <a href="#a299b2711d43b3492a9915f93c65c006a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#afd2fec963215a36aba2a2f3bdff88d3e">initHeatedBed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#af14f5cb4bc81fa1e21d7a10bb1ad142d">setHeatedBedTemperature</a> (float temp_celsius, bool <a class="el" href="ui_8h.html#a4cdb62ccad20bd76e7ff3da83985b54d">beep</a>=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a0533febb3ac2d36158b886b16a14e858">getHeatedBedTemperature</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a69509481ec42fa69be700e5aa6706093">setTemperatureForExtruder</a> (float temp_celsius, uint8_t extr, bool <a class="el" href="ui_8h.html#a4cdb62ccad20bd76e7ff3da83985b54d">beep</a>=false)</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a1e6927fa1486224044e568f9c370519b">id</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a236417b5cf3c14c47cb072fc6c77890f">xOffset</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a33cfbb97021630584638e5cf944ae0bc">yOffset</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a54c14a56d7cef564c2b5387fcf02adbd">stepsPerMM</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Steps per mm.  <a href="#a54c14a56d7cef564c2b5387fcf02adbd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a44d160a8532c0ff0ec30ba01d83c7f1e">enablePin</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Pin to enable extruder stepper motor.  <a href="#a44d160a8532c0ff0ec30ba01d83c7f1e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a6304cdb8446a39b84dc1453f5f754ff7">enableOn</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a62d2cbb5155a836f6a608d7d1fa36e5b">maxFeedrate</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum feedrate in mm/s.  <a href="#a62d2cbb5155a836f6a608d7d1fa36e5b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a75acfe5b3bb67a256ce3ad91cbac056e">maxAcceleration</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum acceleration in mm/s^2.  <a href="#a75acfe5b3bb67a256ce3ad91cbac056e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a2ed0aa16f907a4a096d86685f0f171e7">maxStartFeedrate</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum start feedrate in mm/s.  <a href="#a2ed0aa16f907a4a096d86685f0f171e7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a8836f143192e0cb80bf6891a0ab55d1e">extrudePosition</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Current extruder position in steps.  <a href="#a8836f143192e0cb80bf6891a0ab55d1e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#afb0df49f6552f9190d4a331a76d1b4ca">watchPeriod</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Time in seconds, a M109 command will wait to stabalize temperature.  <a href="#afb0df49f6552f9190d4a331a76d1b4ca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a8c63b2225e2e6afbfa6c6f17c367d8cd">waitRetractTemperature</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Temperature to retract the filament when waiting for heatup.  <a href="#a8c63b2225e2e6afbfa6c6f17c367d8cd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a4e553f3346b998ba08fa726dbdac343e">waitRetractUnits</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Units to retract the filament when waiting for heatup.  <a href="#a4e553f3346b998ba08fa726dbdac343e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_temperature_controller.html">TemperatureController</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a99b16c6a12c5f3a447114fad9e76c38d">tempControl</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *<a class="el" href="ui_8h.html#a0ecb7d204e04196a839885837c052002">PROGMEM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#af04c53509ecb43b37526e432792324f3">selectCommands</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *<a class="el" href="ui_8h.html#a0ecb7d204e04196a839885837c052002">PROGMEM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a0f698ddbd5ee04102f4c57410a3050c9">deselectCommands</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#ab49b7c06991d6b29010d0c55cabfa355">coolerSpeed</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Speed to use when enabled.  <a href="#ab49b7c06991d6b29010d0c55cabfa355"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a2e04c1d705b4212da4ac4e6034e302e8">coolerPWM</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">current PWM setting  <a href="#a2e04c1d705b4212da4ac4e6034e302e8"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_extruder.html">Extruder</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_extruder.html#a9af7fb6cd3428b4cb073eb8f1457ba6a">current</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Data to drive one extruder. </p>
<p>This structure contains all definitions for an extruder and all current state variables, like current temperature, feeder position etc. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a3de6389d6f361381ae46410acbb16c94"></a><!-- doxytag: member="Extruder::disableAllHeater" ref="a3de6389d6f361381ae46410acbb16c94" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_extruder.html#a3de6389d6f361381ae46410acbb16c94">disableAllHeater</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a30fda02302465621235f18287f92a016"></a><!-- doxytag: member="Extruder::disableCurrentExtruderMotor" ref="a30fda02302465621235f18287f92a016" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_extruder.html#a30fda02302465621235f18287f92a016">disableCurrentExtruderMotor</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0a87bc76d9e423caf9fa05c72764f88e"></a><!-- doxytag: member="Extruder::enable" ref="a0a87bc76d9e423caf9fa05c72764f88e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="class_extruder.html#a0a87bc76d9e423caf9fa05c72764f88e">enable</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0533febb3ac2d36158b886b16a14e858"></a><!-- doxytag: member="Extruder::getHeatedBedTemperature" ref="a0533febb3ac2d36158b886b16a14e858" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="class_extruder.html#a0533febb3ac2d36158b886b16a14e858">getHeatedBedTemperature</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a299b2711d43b3492a9915f93c65c006a"></a><!-- doxytag: member="Extruder::initExtruder" ref="a299b2711d43b3492a9915f93c65c006a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_extruder.html#a299b2711d43b3492a9915f93c65c006a">initExtruder</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initalizes all extruder. </p>
<p>Updates the pin configuration needed for the extruder and activates extruder 0. Starts a interrupt based analog input reader, which is used by simple thermistors for temperature reading. </p>

</div>
</div>
<a class="anchor" id="afd2fec963215a36aba2a2f3bdff88d3e"></a><!-- doxytag: member="Extruder::initHeatedBed" ref="afd2fec963215a36aba2a2f3bdff88d3e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_extruder.html#afd2fec963215a36aba2a2f3bdff88d3e">initHeatedBed</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a68854a1919537b9a223261849a973aa6"></a><!-- doxytag: member="Extruder::manageTemperatures" ref="a68854a1919537b9a223261849a973aa6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_extruder.html#a68854a1919537b9a223261849a973aa6">manageTemperatures</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad79d9a88a3155f100a4679fe5e31051d"></a><!-- doxytag: member="Extruder::selectExtruderById" ref="ad79d9a88a3155f100a4679fe5e31051d" args="(uint8_t extruderId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_extruder.html#ad79d9a88a3155f100a4679fe5e31051d">selectExtruderById</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>extruderId</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Select extruder ext_num. </p>
<p>This function changes and initalizes a new extruder. This is also called, after the eeprom values are changed. </p>

</div>
</div>
<a class="anchor" id="a8e6862e8be4778e936b97ba7e595b46e"></a><!-- doxytag: member="Extruder::setDirection" ref="a8e6862e8be4778e936b97ba7e595b46e" args="(uint8_t dir)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="class_extruder.html#a8e6862e8be4778e936b97ba7e595b46e">setDirection</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>dir</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Activates the extruder stepper and sets the direction. </p>

</div>
</div>
<a class="anchor" id="af14f5cb4bc81fa1e21d7a10bb1ad142d"></a><!-- doxytag: member="Extruder::setHeatedBedTemperature" ref="af14f5cb4bc81fa1e21d7a10bb1ad142d" args="(float temp_celsius, bool beep=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_extruder.html#af14f5cb4bc81fa1e21d7a10bb1ad142d">setHeatedBedTemperature</a> </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>temp_celsius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>beep</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a69509481ec42fa69be700e5aa6706093"></a><!-- doxytag: member="Extruder::setTemperatureForExtruder" ref="a69509481ec42fa69be700e5aa6706093" args="(float temp_celsius, uint8_t extr, bool beep=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_extruder.html#a69509481ec42fa69be700e5aa6706093">setTemperatureForExtruder</a> </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>temp_celsius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>extr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>beep</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8bdb088d09103a04aedad2c22d493ac8"></a><!-- doxytag: member="Extruder::step" ref="a8bdb088d09103a04aedad2c22d493ac8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="class_extruder.html#a8bdb088d09103a04aedad2c22d493ac8">step</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sends the high-signal to the stepper for next extruder step. Call this function only, if interrupts are disabled. </p>

</div>
</div>
<a class="anchor" id="a52571d71f3c1fbf18afd83e2b8ff7fe6"></a><!-- doxytag: member="Extruder::unstep" ref="a52571d71f3c1fbf18afd83e2b8ff7fe6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="class_extruder.html#a52571d71f3c1fbf18afd83e2b8ff7fe6">unstep</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets stepper signal to low for current extruder. </p>
<p>Call this function only, if interrupts are disabled. </p>

</div>
</div>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a2e04c1d705b4212da4ac4e6034e302e8"></a><!-- doxytag: member="Extruder::coolerPWM" ref="a2e04c1d705b4212da4ac4e6034e302e8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="class_extruder.html#a2e04c1d705b4212da4ac4e6034e302e8">coolerPWM</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>current PWM setting </p>

</div>
</div>
<a class="anchor" id="ab49b7c06991d6b29010d0c55cabfa355"></a><!-- doxytag: member="Extruder::coolerSpeed" ref="ab49b7c06991d6b29010d0c55cabfa355" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="class_extruder.html#ab49b7c06991d6b29010d0c55cabfa355">coolerSpeed</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Speed to use when enabled. </p>

</div>
</div>
<a class="anchor" id="a9af7fb6cd3428b4cb073eb8f1457ba6a"></a><!-- doxytag: member="Extruder::current" ref="a9af7fb6cd3428b4cb073eb8f1457ba6a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_extruder.html">Extruder</a> * <a class="el" href="class_extruder.html#a9af7fb6cd3428b4cb073eb8f1457ba6a">current</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0f698ddbd5ee04102f4c57410a3050c9"></a><!-- doxytag: member="Extruder::deselectCommands" ref="a0f698ddbd5ee04102f4c57410a3050c9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* <a class="el" href="ui_8h.html#a0ecb7d204e04196a839885837c052002">PROGMEM</a> <a class="el" href="class_extruder.html#a0f698ddbd5ee04102f4c57410a3050c9">deselectCommands</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6304cdb8446a39b84dc1453f5f754ff7"></a><!-- doxytag: member="Extruder::enableOn" ref="a6304cdb8446a39b84dc1453f5f754ff7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="class_extruder.html#a6304cdb8446a39b84dc1453f5f754ff7">enableOn</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a44d160a8532c0ff0ec30ba01d83c7f1e"></a><!-- doxytag: member="Extruder::enablePin" ref="a44d160a8532c0ff0ec30ba01d83c7f1e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="class_extruder.html#a44d160a8532c0ff0ec30ba01d83c7f1e">enablePin</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Pin to enable extruder stepper motor. </p>

</div>
</div>
<a class="anchor" id="a8836f143192e0cb80bf6891a0ab55d1e"></a><!-- doxytag: member="Extruder::extrudePosition" ref="a8836f143192e0cb80bf6891a0ab55d1e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t <a class="el" href="class_extruder.html#a8836f143192e0cb80bf6891a0ab55d1e">extrudePosition</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Current extruder position in steps. </p>

</div>
</div>
<a class="anchor" id="a1e6927fa1486224044e568f9c370519b"></a><!-- doxytag: member="Extruder::id" ref="a1e6927fa1486224044e568f9c370519b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="class_extruder.html#a1e6927fa1486224044e568f9c370519b">id</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a75acfe5b3bb67a256ce3ad91cbac056e"></a><!-- doxytag: member="Extruder::maxAcceleration" ref="a75acfe5b3bb67a256ce3ad91cbac056e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="class_extruder.html#a75acfe5b3bb67a256ce3ad91cbac056e">maxAcceleration</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Maximum acceleration in mm/s^2. </p>

</div>
</div>
<a class="anchor" id="a62d2cbb5155a836f6a608d7d1fa36e5b"></a><!-- doxytag: member="Extruder::maxFeedrate" ref="a62d2cbb5155a836f6a608d7d1fa36e5b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="class_extruder.html#a62d2cbb5155a836f6a608d7d1fa36e5b">maxFeedrate</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Maximum feedrate in mm/s. </p>

</div>
</div>
<a class="anchor" id="a2ed0aa16f907a4a096d86685f0f171e7"></a><!-- doxytag: member="Extruder::maxStartFeedrate" ref="a2ed0aa16f907a4a096d86685f0f171e7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="class_extruder.html#a2ed0aa16f907a4a096d86685f0f171e7">maxStartFeedrate</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Maximum start feedrate in mm/s. </p>

</div>
</div>
<a class="anchor" id="af04c53509ecb43b37526e432792324f3"></a><!-- doxytag: member="Extruder::selectCommands" ref="af04c53509ecb43b37526e432792324f3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* <a class="el" href="ui_8h.html#a0ecb7d204e04196a839885837c052002">PROGMEM</a> <a class="el" href="class_extruder.html#af04c53509ecb43b37526e432792324f3">selectCommands</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a54c14a56d7cef564c2b5387fcf02adbd"></a><!-- doxytag: member="Extruder::stepsPerMM" ref="a54c14a56d7cef564c2b5387fcf02adbd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="class_extruder.html#a54c14a56d7cef564c2b5387fcf02adbd">stepsPerMM</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Steps per mm. </p>

</div>
</div>
<a class="anchor" id="a99b16c6a12c5f3a447114fad9e76c38d"></a><!-- doxytag: member="Extruder::tempControl" ref="a99b16c6a12c5f3a447114fad9e76c38d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_temperature_controller.html">TemperatureController</a> <a class="el" href="class_extruder.html#a99b16c6a12c5f3a447114fad9e76c38d">tempControl</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8c63b2225e2e6afbfa6c6f17c367d8cd"></a><!-- doxytag: member="Extruder::waitRetractTemperature" ref="a8c63b2225e2e6afbfa6c6f17c367d8cd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int16_t <a class="el" href="class_extruder.html#a8c63b2225e2e6afbfa6c6f17c367d8cd">waitRetractTemperature</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Temperature to retract the filament when waiting for heatup. </p>

</div>
</div>
<a class="anchor" id="a4e553f3346b998ba08fa726dbdac343e"></a><!-- doxytag: member="Extruder::waitRetractUnits" ref="a4e553f3346b998ba08fa726dbdac343e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int16_t <a class="el" href="class_extruder.html#a4e553f3346b998ba08fa726dbdac343e">waitRetractUnits</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Units to retract the filament when waiting for heatup. </p>

</div>
</div>
<a class="anchor" id="afb0df49f6552f9190d4a331a76d1b4ca"></a><!-- doxytag: member="Extruder::watchPeriod" ref="afb0df49f6552f9190d4a331a76d1b4ca" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int16_t <a class="el" href="class_extruder.html#afb0df49f6552f9190d4a331a76d1b4ca">watchPeriod</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Time in seconds, a M109 command will wait to stabalize temperature. </p>

</div>
</div>
<a class="anchor" id="a236417b5cf3c14c47cb072fc6c77890f"></a><!-- doxytag: member="Extruder::xOffset" ref="a236417b5cf3c14c47cb072fc6c77890f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t <a class="el" href="class_extruder.html#a236417b5cf3c14c47cb072fc6c77890f">xOffset</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a33cfbb97021630584638e5cf944ae0bc"></a><!-- doxytag: member="Extruder::yOffset" ref="a33cfbb97021630584638e5cf944ae0bc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t <a class="el" href="class_extruder.html#a33cfbb97021630584638e5cf944ae0bc">yOffset</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/ArduinoAVR/Repetier/<a class="el" href="_extruder_8h_source.html">Extruder.h</a></li>
<li>src/ArduinoAVR/Repetier/<a class="el" href="_extruder_8cpp.html">Extruder.cpp</a></li>
</ul>
</div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_extruder.html">Extruder</a>      </li>

    <li class="footer">Generated on Mon Dec 30 2013 18:53:03 for Repetier-Firmware by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
